<template>
	<view class="item">
		{{aa}} 这是一个自定义组件 <slot></slot>
	</view>
</template>

<script>
	import {
		toRefs
	} from 'vue'
	export default {
		props: ["aa", "bb", "cc"],
		setup(props) {
			const {
				aa,
				bb,
				cc
			} = toRefs(props);

			console.log(aa, bb, cc);
		}
	}
</script>

<style scoped>
	.item {
		padding: 50rpx;
		border-bottom: 1rpx solid #ccc;
		line-height: 80rpx;

	}
</style>
